﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Smith.ImageConverter
{
    public class CustomizedRename : BaseRename, IRename
    {
        public IGenerateor Generator
        {
            get;
            private set;
        }

        public CustomizedRename(IGenerateor generator)
            : base()
        {
            Generator = generator;
        }

        protected override string GetFileName(string path)
        {
            return Generator.GetNext();
        }
    }
}
